* {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: rgb(143, 142, 142);
}

img {
  display: block;
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

html,
body {
  height: 100%;
}

body {
  height: 3000px;
  background-color: rgb(244, 244, 244);
}

/* 第一部分 header */
.header {
  background-color: rgb(216, 247, 239);
}

.headerC {
  width: 1200px;
  margin: 0 auto;
}

.headerTop {
  background-color: rgb(216, 247, 239);
}

.headerTop > img {
  width: 1200px;
  margin: 0 auto;
}

/* 第二部分 nav */
.nav {
  background-color: rgb(227, 228, 229);
}

.navC {
  width: 1200px;
  height: 40px;
  background-color: rgb(227, 228, 229);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navC > .right > ul {
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navC > .right > ul > li {
  margin-top: 18px;
  padding: 0 10px;
  border-left: 1px solid #b2b2b2;
  display: flex;
  align-items: center;
}

.navC > .right > ul > li:nth-of-type(1) {
  border: none;
}

/* 第三部分 search */
/* .search {
    box-shadow: 1px 0px 1px 1px gray;
} */

.searchC {
  width: 1200px;
  height: 150px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0px 1px 3px 1px gray;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.searchC > div:nth-of-type(2) {
  position: relative;
}

.input-group {
  margin-top: 20px;
}

#input1 {
  width: 500px;
}

#basic-addon2 {
  width: 80px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ul {
  width: 300px;
  background-color: rgb(247, 244, 246);
  position: absolute;
  top: 65px;
  z-index: 2;
  padding: 0;
  border-radius: 10px;
  font-weight: 700;
  display: none;
}

#ul > li {
  border-bottom: 1px dashed rgb(221, 218, 218);
  padding-left: 15px;
  margin: 5px 0;
}

#ul1 {
  font-size: 13px;
  position: absolute;
  top: 70px;
  left: -28px;
  display: flex;
}

#ul1 > li {
  margin-right: 10px;
}

#ul2 {
  position: absolute;
  top: 120px;
  left: -30px;
  display: flex;
}

#ul2 > li {
  font-size: 14px;
  margin-right: 18px;
}

/* gouwuche */
.gouwuche {
  width: 150px;
  height: 40px;
  color: rgb(225, 37, 27);
  font-size: 18px;
  /* border: 1px solid #cecece; */
  box-shadow: 0px 0px 3px 2px #cecece;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: absolute;
  top: 70px;
  right: 150px;
}

.gouwuche > svg {
  font-size: 30px;
}

.gouwuche > span {
  padding-top: 3px;
}

.gouwuche > span:hover {
  cursor: pointer;
}

/* 第四部分 info */
.info {
  width: 1200px;
  /* height: 700px; */
  margin: 0 auto;
  /* background-color: violet; */
  display: flex;
  margin-top: 10px;
}

/* 1 */
.info > .one {
  width: 300px;
  height: 600px;
}

.info > div {
  background-color: #fff;
}

.one > #ul3 {
  /* padding: 10px 0 0 15px; */
  padding: 0;
  padding-top: 7px;
}

.one > #ul3 > li {
  margin-top: 8px;
  padding-left: 15px;
  position: relative;
}

.one > #ul3 > li:hover {
  background-color: rgb(217, 217, 217);
}

.one > #ul3 > li > a {
  color: rgb(74, 74, 74);
  padding: 3px;
}

/*  .one>#ul3>li>a:hover {
    color: red;
} */

.one > #ul3 > li > ul {
  width: 910px;
  height: auto;
  background-color: #fff;
  border: 1px solid #cecece;
  box-shadow: 1px 0px 4px 1px gray;
  box-sizing: border-box;
  position: absolute;
  top: -15px;
  left: 291px;
  z-index: 2;
  /* display: none; */
}

.one > #ul3 > li:hover > ul {
  display: block;
}

.list {
  width: 900px;
  height: 100%;
  display: none;
}

.list > li {
  margin: 20px 0;
  display: flex;
  align-items: center;
}

.list > li > div {
  width: 150px;
  height: 100%;
  font-weight: 700;
  padding-top: 2px;
  font-size: 12px;
  letter-spacing: 1px;
  display: flex;
  justify-content: flex-end;
  align-self: flex-start;
}

.list > li > div > img {
  width: 20px;
  height: 20px;
  margin-left: 5px;
}

.list > li > ul {
  margin-left: 50px;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
}

.list > li > ul > li {
  margin-right: 40px;
  font-size: 12px;
  padding: 5px 0;
}

/* 2 */
.info > .two {
  width: 600px;
  margin: 0 10px;
}

.swiper {
  width: 100%;
  height: 100%;
  --swiper-navigation-size: 32px;
  --swiper-navigation-color: black;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
}

.swiper-slide img {
  display: block;
  /* width: 500px; */
  width: 100%;
  height: 100%;
}

.info > .three {
  width: 280px;
  height: 600px;
  /* background-color: rgb(76, 192, 215); */
  padding: 10px 15px;
}

.info > .three > div:nth-of-type(1) {
  border-bottom: 1px solid rgb(201, 201, 201);
  padding-bottom: 8px;
}

.infoRightOne {
  display: flex;
}

.infoRightOne > img {
  border-radius: 50%;
  margin-right: 10px;
}

.infoRightOne > div > p {
  margin: 0;
  margin-top: 10px;
  font-size: 18px;
}

.infoRightOne > div > span {
  font-size: 19px;
  padding: 5px;
}

.infoRightOne > div > span:hover {
  color: red;
  cursor: pointer;
}

.plus {
  display: flex;
  margin-top: 10px;
  justify-content: space-evenly;
}

.plus > p {
  width: 100px;
  margin: 0;
  padding: 5px;
  background-color: red;
  border-radius: 17px;
  color: #fff;
  letter-spacing: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.plus > p:nth-child(2) {
  background-color: black;
  color: rgb(205, 157, 68);
}

.three > div:nth-of-type(3) {
  height: 280px;
  margin-top: 150px;
  border-top: 1px solid #cecece;
}

.three > div:nth-of-type(3) > ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.three > div:nth-of-type(3) > ul > li {
  width: 33.3%;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.three > div:nth-of-type(3) > ul > li > svg {
  font-size: 40px;
}

.three > div:nth-of-type(3) > ul > li:hover {
  cursor: pointer;
}

.three > div:nth-of-type(3) > ul > li:hover > span {
  color: red;
}

.three > div:nth-of-type(3) > ul > li > span {
  font-size: 14px;
  letter-spacing: 1px;
}

/* 第五部分 secondsKill */
.secondsKill {
  width: 1200px;
  height: 330px;
  margin: 0 auto;
  margin-top: 22px;
  background-color: #fff;
  display: flex;
}

.secondsKill > .left {
  width: 300px;
  /* height: 330px; */
  background-color: rgb(224, 43, 32);
  letter-spacing: 1px;
  color: #fff;
}

.secondsKill > .left > h2 {
  height: 100px;
  font-size: 30px;
  font-weight: bolder;
  padding-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.secondsKill > .left > p:nth-of-type(1) {
  text-align: center;
  font-size: 70px;
}

.secondsKill > .left > p:nth-of-type(1) > svg {
  background-color: #fff;
  border-radius: 50%;
}

.secondsKill > .left > p:nth-of-type(2) {
  margin: 0;
  text-align: center;
  font-size: 18px;
}

.secondsKill > .left > p:nth-of-type(2) > span {
  font-weight: bolder;
}

.secondsKill > .left > .kill {
  margin-right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kill {
  font-size: 25px;
  font-weight: bolder;
}

.kill > li {
  width: 37px;
  height: 37px;
  background-color: rgb(47, 52, 48);
  margin: 12px;
  font-size: 25px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 轮播 */
.secondsKill > .middle {
  width: 900px;
  /* flex: 1; */
  /* background-color: pink; */
}

.middle > div > div > div {
  text-align: center;
  /* background-color: yellow; */
  border-left: 1px solid #eaeaea;
  box-sizing: border-box;
}

.middle > div > div > div:nth-of-type(1) {
  border-left: none;
}

.middle > div > div > div > img {
  width: 130px;
  height: 150px;
  margin: 0 auto;
  margin-top: 60px;
}

.middle > div > div > div > p:nth-of-type(1) {
  padding: 0 10px;
  margin-top: 30px;
  font-size: 12px;
  color: #6e6c6c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.middle > div > div > div > p:nth-of-type(2) {
  font-weight: bolder;
  color: red;
  text-align: center;
}

/* 第六部分 goods */
.goods {
  width: 1200px;
  /* height: 800px; */
  /* background-color: yellowgreen; */
  margin: 0 auto;
  margin-top: 30px;
}

.goods > h1 {
  background-color: rgb(244, 244, 244);
  /* background-color: rgb(59, 188, 130); */
  text-align: center;
  font-weight: bolder;
  letter-spacing: 1px;
  font-family: "楷体";
  padding-bottom: 18px;
}

.goods > .searchGoods {
  height: 60px;
  background-color: #fff;
  display: flex;
}

.searchGoods > div {
  border-left: 1px solid #cecece;
}

.searchGoods > div > form > select {
  font-size: 20px;
}

.searchGoods > div > form > input {
  font-size: 20px;
}

.searchGoods > .filter {
  flex: 1;
  border-left: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.filter > form > select {
  width: 150px;
  height: 50px;
}

.searchGoods > .saleType {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.saleType > form > select {
  width: 150px;
  height: 50px;
}

.searchGoods > .category {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category > form > select {
  width: 230px;
  height: 50px;
}

.searchGoods > .search {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search > form > input {
  width: 250px;
  height: 50px;
}

.searchGoods > .searchBtn {
  flex: 0.3;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.searchGoods > .searchBtn > div {
  font-size: 20px;
}

.noGoods {
  font-weight: bolder;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cartGoods {
  padding: 0;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: space-between;
}

.cartGoods > li {
  width: 19%;
  margin-top: 15px;
  margin-left: 10px;
  background-color: #fff;
  position: relative;
}

.cartGoods > li:nth-of-type(-n + 5) {
  margin-top: 5px;
}

.cartGoods > li > img {
  width: 200px;
  height: 220px;
  margin: 0 auto;
  margin-top: 25px;
}

.cartGoods > li > p:nth-of-type(1) {
  width: 40px;
  height: 25px;
  color: #fff;
  font-weight: bolder;
  background-color: red;
  letter-spacing: 1px;
  text-align: center;
  line-height: 25px;
  font-size: 18px;
  border-radius: 4px;
  margin: 10px 0px 7px 13px;
}

.cartGoods > li > p:nth-of-type(2) {
  padding: 0 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* margin-top: 6px; */
}

.cartGoods > li > p:nth-of-type(3) {
  text-align: left;
  padding-left: 13px;
  font-size: 20px;
  font-weight: 700;
  color: red;
}

.cartGoods > li > .zheZhao {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: 1s;
}

.cartGoods > li > p:nth-of-type(4) {
  width: 82%;
  height: 13%;
  border-radius: 25px;
  background-color: black;
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 25px;
  font-family: "楷体";
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 80%;
  left: 9.5%;
  opacity: 0;
  transition: 1s;
}

.cartGoods > li:hover > .zheZhao {
  opacity: 0.2;
  box-shadow: 0px 0px 5px 10px #fff inset, 0px 0px 5px 2px black;
}

.cartGoods > li:hover > p:nth-of-type(4) {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.5);
}

.cartGoods > li > p:nth-of-type(4):hover {
  background-color: rgba(67, 202, 239, 0.5);
  cursor: pointer;
}
